package org.jeecg.modules.pbmp.checkInfo.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.pbmp.checkInfo.entity.CheckInfo;
import org.jeecg.modules.pbmp.checkInfo.mapper.CheckInfoMapper;
import org.jeecg.modules.pbmp.checkInfo.service.ICheckInfoService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 考勤信息
 * @Author: jeecg-boot
 * @Date:   2021-02-03
 * @Version: V1.0
 */
@Service
public class CheckInfoServiceImpl extends ServiceImpl<CheckInfoMapper, CheckInfo> implements ICheckInfoService {

    @Override
    public Page<CheckInfo> pageCheckList(Page<CheckInfo> page, CheckInfo checkInfo) {
        List<CheckInfo> l = baseMapper.pageCheckList(page,checkInfo);
        return page.setRecords(l);
    }
}
